package ch03.test.service.impl;

import ch03.test.dao.ComputeDao;
import ch03.test.service.ComputeService;

public class ComputeServiceImpl implements ComputeService {
    private ComputeDao dao;

    public void setDao(ComputeDao dao) {
        this.dao = dao;
    }

    @Override
    public double num(int num1, int num2) {
        return dao.num(num1, num2);
    }
}
